// import axios from 'axios'

export const accessLog = (cfrom, cstatus) => {
    let ajaxurl = 'http://tuiguang.brandzw.com:8090/promote/accesslog.php?cfrom=' + cfrom + '&cstatus=' + cstatus + '&ctype=2'
    let ajax
    if (window.XMLHttpRequest) {
        ajax = new XMLHttpRequest()
    } else {
        ajax = new window.ActiveXObject('Microsoft.XMLHTTP')
    }
    ajax.open('GET', ajaxurl, true)
    ajax.send()
}